package com.learn.springbootnetty.tcpdemo.线程池版;

/**
 * @author xiaodonghong
 * @description TODO
 * @date 2023/6/15-10:34
 */
public class pavm {
    public static void main(String[] args) {
        String chat = "5B0000009D09D93DF31400000027560100000000000000CBD544425933353900000000000000000000000000021402000000670101340000000064810383323835315F32303233303630383036323430335F70320000000000000000000006C5CBB6ABC9C11233323037323331393830303132363334313300071C27BC020B47E0000000000000020000000ED6D5B6CBD6F7B5E7D4B4B5F4B5E74E015D";
        System.out.println(chat.length());
        int length = chat.length();
        StringBuffer stringBuffer = new StringBuffer();
        char [] si = chat.toCharArray();

        for (int i = 0; i < length/2; i++) {
            stringBuffer.append(si[i*2]).append(si[i*2+1]).append(" ");
        }
        System.out.println(stringBuffer);

    }
}
